import { S3ClientConfig } from "@aws-sdk/client-s3";
export interface InitialConfig {
  oss: S3ClientConfig;
  bucket: string;
}

export enum RenderMode {
  WEB = "WEB",
  REMOTE = "REMOTE",
}
export interface Options {
  // @ 是否显示性能监控
  fps?: boolean;
  cloudRender?: boolean;
  config: InitialConfig;
  renderMode?: RenderMode; // @ 渲染模式 默认web渲染
}

export interface FIleLoadRes {
  BomInfo: string;
  FilePath: string;
  PartIds: number[];
  PartEntityIds: number[];
}

export interface SelectedBackData {
  partId?: number;
  actorIndex: number;
  faceId: number;
  faceIndex: number;
  triangleIds: number[];
}
export interface MeshEdgeData {
  uid: string;
  minDistance?: number;
  cellId?: number;
  partId?: number;
  start?: number[];
  end?: number[];
  elementEdgeNodeId?: number;
  elementEdgeSecondNodeId?: number;
}

export interface SelectedParts {
  partId: number;
  partEntityId: number;
  faceIds: number[];
  triangleIds: number[];
  vertexIds: any[];
}
